home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 May: Tool Chest / Developer CD Series Tool Chest (Apple Computer)(May 1999).iso / Tool Chest / Development Kits / MPW etc / MPW-GM / MPW / Examples / AExamples / Sample.make < prev    next >
Encoding:
Text File  |  1998-12-03  |  2.5 KB  |  77 lines  |  [TEXT/MPS ]

  1. #
  2. #    Apple Macintosh Developer Technical Support
  3. #
  4. #    MultiFinder-Aware Simple Sample Application
  5. #
  6. #    Sample
  7. #
  8. #    Sample.make    -    Make Source
  9. #
  10. #    Copyright © Apple Computer, Inc. 1989-1990
  11. #    All rights reserved.
  12. #
  13. #    Versions:    
  14. #                1.00                08/88
  15. #                1.01                11/88
  16. #                1.02                04/89    MPW 3.1
  17. #                1.03                02/90    MPW 3.2
  18. #                1.04                11/93    MPW 3.3.1+ (ETO 13)
  19. #
  20. #    Components:
  21. #                Sample.a            Feb.  1, 1990
  22. #                Sample.inc1.a        Feb.  1, 1990
  23. #                SampleMisc.a        Feb.  1, 1990
  24. #                Sample.r            Feb.  1, 1990
  25. #                Sample.h            Feb.  1, 1990
  26. #                Sample.make            Feb.  1, 1990
  27. #
  28. #    Sample is an example application that demonstrates how to
  29. #    initialize the commonly used toolbox managers, operate 
  30. #    successfully under MultiFinder, handle desk accessories, 
  31. #    and create, grow, and zoom windows.
  32. #
  33. #    It does not by any means demonstrate all the techniques 
  34. #    you need for a large application. In particular, Sample 
  35. #    does not cover exception handling, multiple windows/documents, 
  36. #    sophisticated memory management, printing, or undo. All of 
  37. #    these are vital parts of a normal full-sized application.
  38. #
  39. #    This application is an example of the form of a Macintosh 
  40. #    application; it is NOT a template. It is NOT intended to be 
  41. #    used as a foundation for the next world-class, best-selling, 
  42. #    600K application. A stick figure drawing of the human body may 
  43. #    be a good example of the form for a painting, but that does not 
  44. #    mean it should be used as the basis for the next Mona Lisa.
  45. #
  46. #    We recommend that you review this program or TESample before 
  47. #    beginning a new application.
  48.  
  49. #    NOTE: The Asm has warnings turned off here.  This is because the
  50. #    Macro "Case#" builds a list of BEQ instructions that could be
  51. #    optimized into BEQ.S.  Everyone of these causes a warning
  52. #    message to appear while building this sample.  With warnings
  53. #    turned off, they don't appear.  Code generation is NOT effected.
  54.  
  55. # If ANY changes are made to the include file, you MUST perform
  56. # a full build of ALL source files.  The dependencies below will
  57. # cause all source file to be assembled if the Sample.inc1.a is updated.
  58.  
  59. AOptions        = -w -D SystemSevenOrLater
  60.  
  61. AObjs            = Sample.a.o ∂
  62.                     SampleMisc.a.o ∂
  63.                     "{Libraries}"MacRuntime.o ∂
  64.                     "{Libraries}"Interface.o
  65.  
  66. Sample            ƒƒ {AObjs} Sample.make
  67.     Link -o {Targ} {AObjs}
  68.     SetFile {Targ} -t APPL -c 'MOOS' -a B
  69.  
  70. Sample            ƒƒ Sample.r Sample.h Sample.make
  71.     Rez -rd -o {Targ} Sample.r -append
  72.  
  73. Sample.a.o        ƒƒ Sample.make Sample.inc1.a
  74.  
  75. SampleMisc.a.o    ƒƒ Sample.make Sample.inc1.a
  76.  
  77.